/**
 * @author bipul_sinha
 * @version 1.0
 * @created 10th November, 2010.
 *
 * AbstractTenantEntity
 *
 * Copyright @ 2010 by 
 * All Rights Reserved.
 * CONFIDENTIAL AND TRADE SECRET
 */
package com.ces.knacky.framework.model;

import com.ces.knacky.model.Company;

public abstract class AbstractTenantEntity extends AbstractMasterEntity implements ITenantable {
	/**
	 * Represents name of the tenant/merchant to whom the entity belongs to.
	 */
	protected Company company;

    /**
     * It provides a contract to return the owner details of the entity. 
     * 
     * @return	Company 
     * 			Represents owner details of the entity. 
     */
	public Company getCompany() {
		return company;
	}

	/**
	 * It provides a contract to mark the object with respective merchant/tenant.
	 * 
	 * @param 	company
	 * 			Represents merchant/tenant to whom this record belongs to.
	 */
	public void setCompany(Company company) {
		this.company = company;
	}
}

